<%--
  Created by IntelliJ IDEA.
  User: 85705
  Date: 2020/9/15
  Time: 16:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>非常6+1</title>
    <link rel="stylesheet" href="../layui/css/layui.css">
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo">非常6+1</div>
        <!-- 头部区域（可配合layui已有的水平导航） -->
<%--        <ul class="layui-nav layui-layout-left">
            <li class="layui-nav-item"><a href="">控制台</a></li>
            <li class="layui-nav-item"><a href="">商品管理</a></li>
            <li class="layui-nav-item"><a href="">用户</a></li>
            <li class="layui-nav-item">
                <a href="javascript:;">其它系统</a>
                <dl class="layui-nav-child">
                    <dd><a href="">邮件管理</a></dd>
                    <dd><a href="">消息管理</a></dd>
                    <dd><a href="">授权管理</a></dd>
                </dl>
            </li>
        </ul>
        --%>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item">
                <a href="javascript:;">
                    <img src="http://t.cn/RCzsdCq" class="layui-nav-img">
                    贤心
                </a>
<%--                <dl class="layui-nav-child">
                    <dd><a href="">基本资料</a></dd>
                    <dd><a href="">安全设置</a></dd>
                </dl>--%>
            </li>
            <li class="layui-nav-item"><a href="">退出</a></li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree"  lay-filter="test">
                <li class="layui-nav-item"><a onclick="dclass()" >资料/课件</a></li>
                <li class="layui-nav-item"><a onclick="dhomework()">作业</a></li>
                <li class="layui-nav-item"><a onclick="dtest()" >考试</a></li>
                <li class="layui-nav-item"><a onclick="dstatistics()" >统计</a></li>
            </ul>
        </div>
    </div>

    <div class="layui-body">
        <!-- 内容主体区域 -->
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <iframe width="100%"
                        id="mainiframe"
                        height="800"
                        frameborder="0"
                        src="class.jsp"></iframe>
            </div>
        </div>
    </div>
</div>
<script src="../layui/layui.js"></script>
<script>
    //JavaScript代码区域
    layui.use('element', function(){
        var element = layui.element;

    });
</script>
<script src="../layui/jquery-3.4.1.min.js"></script>
<script>
    function dclass() {
        $('#mainiframe').attr("src","class.jsp")
    }
    function dhomework() {
        $('#mainiframe').attr("src","homework.jsp")
    }
    function dstatistics() {
        $('#mainiframe').attr("src","statistics.jsp")
    }
    function dtest() {
        $('#mainiframe').attr("src","adminPark.jsp")
    }
</script>


</body>
</html>
